//
//  HMSelectTitleView.h
//  HMMarket
//
//  Created by maimaigo3 on 2017/5/16.
//  Copyright © 2017年 homai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HomeCategory.h"
typedef enum clickType {
    CLICK_UP = 0,
    CLICK_DOWN
}clickType;

@protocol HMSelectTitleViewDelegate <NSObject>

- (void)changeType:(NSInteger)selectType;

@end
@class HomeCategory;
@interface HMSelectTitleView : UIView
NS_ASSIGN id<HMSelectTitleViewDelegate>delegate;

NS_ASSIGN NSInteger selectCardType;

NS_STRONG NSArray *dataArray;

NS_ASSIGN BOOL upAndDown;

NS_STRONG HomeCategoryDetail *cate;

@end
